package com.infomanage.dao;

import java.util.List;

import com.infomanage.bean.SearchBean;
import com.infomanage.exception.DaoException;
import com.infomanage.po.AccidentRescue;


public class AccidentRescueDAO extends BaseDAO<AccidentRescue> {
	public AccidentRescue find(int id) throws DaoException{
		return super.find(AccidentRescue.class, id);
	}
	@SuppressWarnings("unchecked")
	public List<AccidentRescue> findAll() throws DaoException {
		return super.findAll(AccidentRescue.class);
	}
	
	@SuppressWarnings("unchecked")
	public List<AccidentRescue> findByFields(SearchBean searchBean) throws DaoException {
		return super.findByFields(AccidentRescue.class, searchBean);
	}
	
	
	public int count(SearchBean searchBean) throws DaoException{
		return super.count(AccidentRescue.class, searchBean);
	}
}